package net.borlis.sample.service.entities.common;

/**
 * Created by alexander.borlis on 15.07.2014.
 */
public interface BaseEntityInterface {

    /**
     * Provides the identifier of the entity.
     * @return the long identifier
     */
    Long getId();

    /**
     * Set the identifier for the entity.
     * @param id new long identifier
     */
    void setId(Long id);

}
